import { Component } from './component.entity'
import { Entity, PrimaryGeneratedColumn, ManyToOne } from 'typeorm'

@Entity()
export class ComponentOutput {
  @PrimaryGeneratedColumn()
  id: number

  @ManyToOne(type => Component, component => component.outputs)
  component: Component
}
